package com.aysafety.iotdataplatformweb.services.elevator;

import java.util.List;
import java.util.Map;

public interface ElevatorService {
    long countRealTime(String deviceId, String startTime, String endTime) throws Throwable;

    List<Map<String, Object>> queryRealTime(String deviceId, String startTime, String endTime, int page, int size,
        String startRow) throws Throwable;

    long countAlarm(String deviceId, String startTime, String endTime) throws Throwable;

    List<Map<String, Object>> queryAlarm(String deviceId, String startTime, String endTime, int page, int size,
        String startRow) throws Throwable;
}
